give the database a name different name than the store;
fix a bug with the 'this' variable inside lambda functions