Fix wrong nesting.