remove double callback on error