manage boolean field