fix: sensor form submition and validation