fix bg client