Red arrow one is the water temp sender for your gauge, the other (on the top) is to do with the exhaust gas recirculating (EGR) valve. Hopefully you have removed the EGR (its more of a hindrance than a benefit), in which case the one on top isn't doing anything apart from keeping your coolant in!