fix metadata stuff
bug fixes
Merge pull request #9 from LipuFei/fix_tftp_upgrade_all

fix things in TFTP