fixed a number of small bugs with automated actions.