solved conflict in player.render