FCC Bug in code

Here is a solution although no explanation.