fixing selection