removing xqueue templates