this keyword scoping error