add a slash at the end of the url routing to avoid MIME type error