make the model layer sane