clear %pagestate in loadindex