fix trailing line break added to upload part2