Fix bug: when model with default_scope make #lft and #rgt wrong