Changing PATRTERN to PATTERN