arch detection bug