cleaning up modesl