Uninitialized string offset: 0

fix #527