fix long boolean