fixing broken background bug