When you remove a head, you must lap the head and block area where the head sits. It's all in the prep. You don't clean the area and toss on a new gasket.
Every head I've pulled from 2hp to say 22hp, all were warped. 220, 400 and 800 grit on the garage door window. Let the paper do the work. No need to push hard while lapping. You will quickly see how warped it is.
Last a triple bolt torque regime should be followed. And after running once or twice retorque the bolts a few times. Only takes a minute.