hack to ensure proper sizing