fixed object access error