started to make execute_actions more robust