handle de/refocus better