Fixing a bug in simple_player