fix error response in gamesroutes
revert to references in hasgames