correcting returned object