fix return object