re-write the .getPopChnlMapping function to make it more robust and accurate #168