Fixed small warnings and XML-duplicate rows

fixat comment + warnings