widgets: use correct method to init