fix sensors by patch
thx zabulus, and RRover to make this patch