disable static buf