fix target links bug