add dayload constraint, fixed curriculum constraint