fix animal weight graph bug