corrected setting value on properties