Removing pathing and token