fixing small issue with uploading again feature.