Fix purge commands