avoid double execution of onPlayerReady