fixed typos in comments
caching for db[...]