remove delete function of global variable