added a history to prevent duplicate page parsing