changes to advparser