enfore remix page limit and emit event when attempt to exceed limit