Remove non-existent ref