fix bug related to empty actions with guards