fixed pattern error