fix missing free