fix for relations XML