Store boolean correctly