Fix for xml reader, adding previous command