fix typo in purge script