save non-empty string in place of failure