fix issue with doctrine annotation driver