updated message for empty strings