small fix basicspawner