fixed annotation_type validation