removing artifacts from buff