typo with string ptr