fix goto command with -c