fixed issue when using page and element accessors