removed duplicated library(XML) call