Fix image uploading - typo for variable name