fixed strange regression bug in adparser