fixed issue with pressing ctrl-f multiple times