cast value when Label#text is assigned