fixed zoom function
fixed legacy upload function