minor improvements for PDO params