background change crash fix