Fix purge task