I think it’s to do with your input code. When the widget opens, you also need to make sure all inputs are set to 0.