raise exception on wrong args to slg->parse()