remove empty actions