Fixed iterating on obj