bind route callback to right context