Fix the bug of PDO request.