Widget generation call fixed