build fix: replace struct with static