making sure that network msg is string