Fix remove Doctrine Error