remove entityreference