fixed en/end typo and changed filter to action