FIXED: architecture detection