Fixed a Router bug that prevented variables to pass in some cases