got correct id

added 2 new vars for id and path value to work across other upload fields