fixed focus after cancel