added check for blank actions in events