fixed missing content-length