more pdo fixes