fix bug in Player API