fixed bug with DateAdapter
work with the AnnotationScanner