fix markup for uploading