add error detectioncapability to uploader
add error detection capability to uploader