[Bug #6979] Minor fixed