fix #PAGE / $OUTPUT confusion