Wrong $obj fixed