moretests, fix an annoying scoping bug