remove observe from bg and emode