spawn clearing works on server too