fix background bug