fixed import

the problem was actually with the save
project->generateRecur->generateCode->trimwhitespace...the whitespace
function would change the values in place and add nul characters to the
xml file :( now it creates a copy, always remember to delete the char*
afterwards