Removing references to path