add maping bool to boolean