fixes regarding xml requests