BUG: compare values not boxed objects