fix method SetBase error