fix gaffer command and console output.