Change error from string[] to string