Fixing bool problem.