fixed bug in toArchitectural method