fixing bg issue