fix pitch not match bug