improve 'Go upper level' command for root URL