fixed strncpy in route_common, added a null to the end of the string, need to free useless moemories in pb_stats