clean up route declaration