hopefully better error catching in annotation-parser.