fix setup model