fix syntax error
fix setting the cache size at runtime