use long.Parse when setting content length