fix bug of server reply multiple ok from empty string