fixed backslash and begin of automata parser