fix  scope