bug fix - avg weight