bugfix string to array warning