Fix Upload Bug