fixed arch bug