add extra logging and skip on empty strings