Fixed client init issue