background bug fix