fix asset uploading