minor change to return stace trace