Fix the pdo error on router