fix issue with  objects