preventing following of link to entity class