players can now quit properly