before unload from alex maccaw