use long.Parse when setting ContentLength