replace when text is not null