flush the static variables