Fixed scope for  variable