objects examples: bug fix