restore some order