Strip off tailing slash