Fixed bug in video upload