improve the route callback.
remove code comments.