Fixed unreachable debug code