we need fix the bugs for bg