columns loop missing variable