fixed lookup creation bug