Fixed undefined variable stripPath