broken relevancy code