Fix action extraction.