check model

after ralph fixed some bugs, I cheched that the errors are fixed and the
model works