Fixed crash due to typo between event and action.