Remove excess path stuff