leg: fix bug in overall stats

Signed-off-by: diditclear <didyourupgradeclear@gmail.com>