fix error with page not exist in index