fixed syntax error in my code