removed page_state_id from pages