fix loss relative to gain