fix decoding of properties