add route cleanup method