fixed some missing model constraints