delete some global variables