fix database work (test pdo)