to fixup the bug in ParseBuf of ptzpreset