Fixed ENT'ed code generation on pages bound (issue#2).