Fix error in getTone.