Revert to old items index controller code. .map not working