Fix the bad code.