small fix in index.scala