fix adding architecture