removed pg adapter