Fix archtype

There's also a test to check if it doesn't break again.

Closes #256