frontend: adjust dir arch