fixed a bug when teh app goes to bkg