update dandelion version and manage package changes
remove unused import
fix the misuse of an unmodifiable map