fix the flow of control around reply[:logs]