Fix command header

don't expose internal variables