Fix string length. Header is not included in length