background bugs fixed