fixed player loading script