Bug fixing from hell