OPLA: fixes bug on logging