updated logic for es cell/mouse status conversion