fix column counter