#527 Fix Uninitialized string offset: 0

fix #527