fix commandline "go to link #"

thanks @mc10