fixed bug in course constraints partial