fixed syntax errors in player