fix get_client not working