fix illegal string offet value #22