fix log for recovery