added page is active check