Fixed closing window 0