fix the active page