fixing directories for upload and video