Fixed typo causing 'p' segv