fix test vs. live