image processor syntax error fix