Moisture protected circuits