fix a dynamic href