Fixed empty routes parsing