replacing [true,false] by meta type 'boolean'