fix where href and title where too strict on when they would appear