fixes for size changes