corrected bugs in vglClUpload.