simplify widget config