Get rid of trailing slash for Flatstrap