removes trailing slash for correct path to help doc.