still doesn't work uninitialize constant InvObject