fix leafdecay