paper: fix the pattern equations (remaining errors)