Bugs in arch code