fixed bugs on cache and config