fix average len when rev missing