actions util refact