Repairing orientation