fixed some tiny issues with archetype.