Drop unused/uninitialized var - groupby
Remove undefined routine typo...