remove unused code from feed view