review refactoring deleting unused actions