Yup. It's T&M. Frustrating, for sure. If you don't let it get under your skin, and keep a good attitude about it, you can make it nice and still get paid. With jobs like this, communication is the key. I find myself needing to explain all along the way exactly what is wrong, why I need to re-do it, and what it will take to accomplish that. Build value along the way, is what I'm trying to say. It helps with getting paid at the end for a job that the handy-hack thought he had "almost done".