fix a bug for build