Fix fixed-string length bug