fixed toChord to normalize chord representations