cleanup in GameCtx