remove debugging stuff and fix double .png