fixed conversion of nil into string array