better parsing of multiple annotations