Fix using temp object as ref