added exception to AnnotatedBed