fixed problems on indexpage