use optimized decoders
use optimized un-escape
fix count limit option
unlock during PB decode