fix sensors struct