minor issue on obj creation