Code format and fix for lookup uri.