fixed problem with static properties