Fixed a few bugs in video uploader