fix double free or corruption (fasttop)