fix string pointer