remove not existing reference