Removed the on_error