Fix for xml input for my reasons