change variable is_client