Fix: wrong architecture querying, sed issue