Attempt to solve bg problem