fix possible npe in ParameterLookupElement #351