handling for raw boolean