process route callback