fix gemfiles
fix gem
adjust index controller