finished fixing the player