Fix the type equality