Fix syntax error while init ByteBuffer
fix testsuite