fix for boolean type parser in validation