fixed a null pointer for included machines with no state variables