fix bug for app query neiguagn