unwanted references removed