Fixed negative counter values reads
Fixed indents