fix for uses Doctrine connection