fixed closing alert