Fixed proc issue in router