Fix Define Scope