decoding of temp entities