Thanks all for your input. Actually, I was trying to change the bolts and gaskets. I first disconnected the negative cable on the battery but found that it's really difficult for me to do the fix. So I reconnected the cable. When I turn on the engine, the check light was gone. I decided to take my chance to have it inspected and it did pass! Now I will have one year to change those parts. LOL
By the way, I am in TX.