changed to send emtpy string to res