Fix balance and type