changed pages to match active