simplified error callback call