bug correction in Depolarization class