Fix webpage upload error