remove unused dependencies
Add method to clean xml