fix bg size bug