fixed Client Main to work again

fixed Client Main to work again