fixed the ordering of notes