comment out ResizeSensor