damage_to_loss_fixed

damage_to_loss_function in common folder fixed