make path base.