fix xml definitions