delete some references