fix bug in build for base

fix bug in build for base