fix reset function.. added 'all' keyword to purge conf