fix: userParams not defined if not in widget ; ALERT SPAGHETTI CODE DETECTED