removing environment dependency on DB getHandle() call