fixed fakedb key support.