fix mem leak
libs statlog