removed extra logger.debug