fix minor issue
correct context for $displayType
protect addProperty : only if content had been found