RLWIMI, RLWINM and RLWNM fixed