fixed main instance of structure deeds disappearing on placement error – also fixed missing semicolon