sending empty string on empty array