fixed the OnSet and NoCoda constraints