build fix for purge #13
remove unused imports
access static in a static manner.