fix listener chain handling