fixed a small bug with url added to link