clean up models references