Fixed bool problem