clean setting and mapping according to FileType
add AutoTag