MXN sensor fixes

Tested sensor, seems to do just fine but more tests are coming soon