Correctly return ret on entropy gather