fix for pages index views & controller