numbytes,length - cleanup