adjust scoping within object literal