Fixed bug on contact sensor value