fix for error callback