fix nesting error on home