Scope variable name issue