fixing trialing slash