clear depolyed before rebuild