fixed a bug with note splicing