fix bug that page doesn't exist