Bug fixes while using strings in kryonet