replace bg-sm