Fix orientation problem