fix pitch selection