remove unnecessary trailing slash
remove unnecessary trailing slash