purge: further improvement