Fix a bug about error of callback.