Fix purge command.