Fixing LOC counter.