Correctly reset locale