avoid api problems when players reload mainmenu