340 module role lookup fix