Fixed discovery error