fixed type in set_tone