memory leak fix
comment unused for now