bug fix on video upload