Fix 'reset' command