Update object.c

playing around with nan and nil