fix a bad nesting.