fixed heading and command output