Merge indexcontroller