clear history and final fix.