Why is widget not Initializing