delete unused global variables