fix indexpage