Fixed errors in player