fixing a syntax error