remove extra arg from logavg call