bugfix crash if set no annotations