fix bug with multiple opened pagers