Civic coding nesting fix

Fix illegal nesting error