fixed resetting selection