fix typo: missing "import gc"