resolve data in router