Because I used custom script, and instead of "move" I wrote the variable name and wc3 crashed. The function name had BJ at the end of name though.
And I don't know any of jass function names, that function name I got by converting to text in another trigger to cnp the name in custom script action.