backgrounding fixes