capture error, rename calls