fix startup problem when cmd argument contains tango host