add back the last slash to conform to the canonical form