bug fixes for widget sizing