memory leaks and errors due to cvec_del unsafe