fixed default scope errors