fixing the damage(filter)