fix bug for commander and color format