fix Train,index page