fix damagebars, close #21