cleanup
changed declaration of item.mapchannel function