bug fixed in moving_aggregate
renaming variable -> object