fixed a bug in load_player