correct the last scaffold error.