Fixed type stability problem.