short-circuit action writing if there are no actions