Tab cop does auto-correction

Fix #1272
Merge pull request #1296 from yous/patch-tab-auto-correct

Tab cop does auto-correction