factor out fixing and run it on another site