fixed some stuff in sub model2