memory leak fix
;klj