fix bugs with selector and number of turns