fixed invalid content-length bug