add show & index page + fix some bugs