improve errors output in builder