bugfix in pages/index