correcting control syntax error