extend shared buffer
fix typo
fix cache size constraint