fix sub-env for when env file is not present