some changes on pdo connection