Fix an error of nil list for index page