HALO: fix the integer division bug and icons