fixing bug where size changes don't register