reports type mismatch for builder parameters