Fix work submission for XMG