Fix bug always showing the latest value of a property