fix setting objects