remove unused variable in loadFromXML()