added check for installation in index controller instead of feed controller