cleanup doctrine setup