set arch correctly