corrected bug in player