improved cnv::strtol