safely destroy on splash window