fix: avoid referencing undefined field of object