fix reference to internal state