if path is sent without slash, add one