Correcting problems with xml import.