fix a tiny bug
fix bugs on reload and add drag & drag file