buaazp: support auto-orient