[FEATURE] Max replacements per page

this fix issue #8