fix undefined warning
fix the issue where the updater does not work with wget due to $data not being the percentage value