fix cube's lastBuildTime  bug