fix crashing with char arrays. do not reduce allocation size.