fix issue with static