Fixed migrate tables and fixed view show graphs in index page