fixed MTE bug regarding pagination