clean up and retry build