Fix main.c and object.c