1. use tinyxml2 instead of tinyxml
2. tools bugs correct