fix migration
included environment in physical model