Tab cop does auto-correction

Fix #1272