attempt at fixing the damagebars