Fixed api lookup.