bug fixes for player