Fix string pointer argument handling