fix app background bug