Integra b18c gas flooding head

Hi i have a b18c with a gsr head and recently the car over heated for a little and when back to normal i parked it and left it alone when back to try to turn on and it wouldn't after a few trys i smell gas bad and look over for a lick and nothing till i saw gas coming out of the exhaust i remove thw headers and gas came out alot i remove the head and pistons where flooded i inspected intake valves and there ok not vented also replaced head gasket any ideas or anyone had this problem.