BugFix: select games from pg database