fixes for adding and removing columns