reset static variables