Fixed bg_set, maintenance