fix wrong reference to the object