fix reBuild bug