Replace mote for hmote.