don't create survey object unless it's defined