fix nesting command