Adjusting the losses in an ac quantum Hall sample