bugfix for player