remove a unexsited reference