fix a missing static that caused optimized build to fail hard