uploaded picture now persists if form fails
renames local variable