work with static registry