fixed the long href bug