fix refactoring example's usage of static variable

sorry - let's try again....