fix result lookup