removed error_callback