fix bag with static method in Client