Remove extraneous / from relative function