fix return log