fixing selection tool