remove redundant logger call