fixed bug w/in-memory. createDB now returns cur