remove smashing reference