fix link refresh issue