Fixes read boolean