6579 fix reset dirty issue