added catch for case when empty string is returned with success