Fix parsing action commands