modified call expression to print errors