fix column iteration in base