removed typo in object access