fixed signature of loadConstraintReferences #4438