removed unneeded code from index page