fix missing caplen