fixed typo in addBoolParamArray