fix in gettargetkey , fallback mechanism returning self if not found