simplifiy paths