remove directory db from env