free_pb_stats bug has been fixed, free stats by call by pointer not value