fixed old spelling error, fixed file upload