fixed Nothing & .variable problem. Was related to the expectation factor not having any variables/nodes associated with it.