fix addPath filepath