solve syntax error; ignore handling was broken