Closing #10 with fixing a bug in purge-all