fixed dumb bug in model2