Fix purge command