fix trailing elements in split harmonic/melodic method