fix some bugs
duh, just look at all {k, v} in objects for comparison instead of
by-hand