why is this happening trying to fix href