fixed minor bug for file upload
Merge branch 'master' of https://github.com/martflu/amanaman