fixed doc and validate info string generation