return correct length of string descriptor