fixed queryItem() in fake db