placed caches, various fixes