minor changes to moduleparser