fixed a bug in the player package