Fixed an issue in mockplayer