bug fix in steady states