update config
fix bugs
file case sensitive