fixed bugs in note parsing and denormalizing