fix editor selection