fix decoding issue due to uninitialized return value

it was completely broken when requesting non-existent properties