fix a bug about base