dont set text if undefined