correcting a syntax error