fixed switch player problem