removed bug in DatabaseCursor