fix failure tests on emailButtonPanel  xwen2