some bg fixes