trying to resolve trace error