bug in adding columns