avoid error in flagswitch if server has no ents