Bug Fix on index

Bug fix on index, really need to learn how to open a local server.