grid layout for index.html
fixed index table errors