fix breaking logger call