Link target attribute
Correction and bug fix