Fixed the issue that DBsWithEnv doesn't work correctly