dirty counter bug fixed
Merge pull request #1418 from Joonsoo/master

Dirty check bug fixed