minor fixes
make PDO more simple