fix a bug with build changed