Fixed chunk upload type error