Fix invalid logger and comment