Repaired bug with object output