constraints in model
minor fix