minor changes to reflect modifications in moddwl_process