fix length when .body is missing