fix a bug in element property output